#include<iostream>
using namespace std;

class Box
{
    int l, b, h;
    public:
        void setDimension(int x, int y, int z)
        {
            l = x;
            b = y;
            h = z;
        }
        void showDimension()
        {
            cout << l << " " << b << " " << h << endl;
        }
};

int main()
{
    Box *p, smallBox;
    p = & smallBox;
    p->setDimension(5, 10, 15);
    p->showDimension();
}